#ifndef SDL_UTIL_H
#define SDL_UTIL_H

#include <SDL/SDL.h>

namespace sdl
{

/**
 * Returns whether a given point is inside an SDL_Rect structure or not.
 * 
 * @param x: x coordinate of the point.
 * @param y: y coordinate of the point.
 * @param rect: a handle to a rectangle.
 * @return a boolean value indicating if x, y is inside rect/
 */

bool PointInRect(int x, int y, SDL_Rect *rect);

};
#endif